'''

var = 1

while (var < 10):
    if (var % 2 == 0):
        print(f'number:{var}')
    var += 1

n = 2

match n:
    case 1 | 2 | 3:
        print('number is suitable: (1,2,3)')
    case _:
        print('caluse')

'''

'''
i, sum = 1, 0

while (i <= 100):
    sum += i
    i += 1
print('1-100的和:', sum)

'''


'''
# for + continue 语句


sites = ["Baidu", "Wiki", "Google", "Runoob", "Taobao"]
for site in sites:
    if (len(site) != 4):
        continue
    print(f'hello {site}')
    if (site == 'Runoob'):
        print('菜鸟教程')
        break
    print('循环的数据:', site)
else:
    print('finished!')
print('GoodBye')
'''


for letter in 'Runoob':
    if letter == 'o':
        pass
        print('执行 pass 块')
    print('当前字母:', letter)
print('done!')
